package mmc.networking.data;

import java.io.IOException;
import mmc.cell.ServerCell;

@SuppressWarnings("serial")
public class ChunkUpdate extends Update{
	public ServerCell cell;
	
	public ChunkUpdate(ServerCell cell) {
		this.cell = cell;
	}
	
	private void writeObject(java.io.ObjectOutputStream out) throws IOException{
		out.writeUnshared(cell);
	}
 
	private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException{
		cell = (ServerCell) in.readObject();
	}
}
